
/*
 * Online.h
 *
 *  Created on: Jan 2, 2010
 *      Author: evaleto
 */
#include "config.h"
#ifdef CONFIG_WITH_ETHERNET
#ifndef ONLINE_H_
#define ONLINE_H_

#ifdef CONFIG_WITH_ECLIPSE
#include <WProgram.h>
#endif

#include <inttypes.h>
#include <Ethernet2.h>


class Online {
public:
	Online();
	~Online();
	bool update(uint8_t header, uint16_t power[], uint8_t sz);
	void disconnect();
	void setup();
	void reset();

private:
	Client localClient;
};

#endif /* ONLINE_H_ */
#endif
